package com.linln.admin.mapres.validator;

import lombok.Data;

import java.io.Serializable;
import javax.validation.constraints.NotEmpty;

/**
 * @author williham
 * @date 2020/08/04
 */
@Data
public class MapresValid implements Serializable {
    @NotEmpty(message = "标题不能为空")
    private String title;
    @NotEmpty(message = "服务地址不能为空")
    private String url;
    @NotEmpty(message = "图层ID不能为空")
    private String layerId;
}